package org.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName PsychReply
 * @Description TODO
 * @Author lipeijin
 * @Date 2025年08月15日 下午8:33
 * @Version 1.0
 */
//心理答疑回复表
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PsychReply {
    private int id;
    private String replyContent;
    private int userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date replyTime;
    private int qaId;
    //一对一
    private User userNick;
    //一对多
    //    private Psych  psych;
}
